package com.neuedu.spring.autowire;


public class UserService {
    private IUserDao userDao;

    public void methodName() {
        System.out.println("UserService.methodName");
        userDao.methodName();
    }


    public IUserDao getUserDao() {
        return userDao;
    }

    public void setUserDao(IUserDao userDao) {
        this.userDao = userDao;
    }
}
